<template>
	<!-- 搜索 -->
	<view class="search-box">
		<view class="content" @tap="searchTo">
			<icon type="search" size="18"></icon>
		</view>
	</view>
</template>

<script>
	export default {
		data(){
				return {
					
				}
			},
			
			methods:{
				searchTo(){
				uni.navigateTo({
					url:"/pages/search/search"
				})	
			}
		},
	}
</script>

<style lang="less">
	.search-box {
		height: 100rpx;
		background-color: #Ff2d4a;
		padding: 20rpx 16rpx;
		box-sizing: border-box;

		.content {
			height: 60rpx;
			background-color: white;
			border-radius: 20rpx;
			display: flex;
			justify-content: center;
			align-items: center;
			color: #bfbfbf;

			icon {
				margin-right: 10rpx;
			}
		}
	}
</style>
